using System;
using System.Collections.Generic;
using System.Text;

namespace ConsolePlayer
{

	public class CommandSample : ICommand, IConnection
	{

		#region ICommand Members

		public void Action()
		{
			Console.WriteLine("\nhello world! this is a sample extension");
		}

		#endregion

		#region IConnection Members

		public void Connect(IPlayerCore core)
		{
			Console.WriteLine("\nconnect!");
		}

		public void Disconnect()
		{
			Console.WriteLine("\ndisconnect!");
		}

		#endregion
	}
	public class Sample : IExtension
	{
		#region IExtension Members

		public object ParseCommandLine(string[] args)
		{
			return new CommandSample();
		}

		#endregion
	}
}
